import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 *  * 生产领料
 * */
// 创建
export const productionFeedstockTotalCreate = (data) => postRequest('/production/feedstock-total/create', data);

// 更新
export const productionFeedstockTotalUpdate = (data) => putRequest('/production/feedstock-total/update', data);

// 删除
export const productionFeedstockTotalDelete = (params) => deleteRequest('/production/feedstock-total/delete', params);

// 获得
export const productionFeedstockTotalGet = (params) => getRequest('/production/feedstock-total/get', params);

// 获得分页
export const productionFeedstockTotalPage = (params) => getRequest('/production/feedstock-total/page', params);
// 投料月统计报表
export const productionFeedstockTotalProductionFeedstockTotalBoList = (params) => getRequest('/production/feedstock-total/productionFeedstockTotalBoList', params);

// 更新状态
export const productionFeedstockTotalUpdateAuditState = (params) => postRequest('/production/feedstock-total/update-audit-state', params);

